home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Macademic for Students & Teachers
/
Macademic for Students and Teachers (Quantum Leap)(1992).iso
/
Mathematics
/
Mad Math Minute 2.0
/
card_2921.txt
< prev
next >
Wrap
Text File
|
1988-02-21
|
8KB
|
428 lines
-- card: 2921 from stack: in.0
-- bmap block id: 0
-- flags: 4000
-- background id: 2601
-- name: Problem
----- HyperTalk script -----
on mouseUp
global StartTime
global MaxTime
global MaxProblems
put the secs into thisTime
subtract StartTime from thisTime
if thisTime > MaxTime then
subtract 1 from card field "Problem Number"
go card "Finish"
Evaluate
exit mouseUp
end if
get card field "Problem Number"
put it into pno
get short name of the target
put it into line pno of card field "AnswerList"
if pno >= MaxProblems then
go card "Finish"
Evaluate
exit mouseUp
end if
Add 1 to card field "Problem Number"
set the scroll of card field "ProblemList" to pno * the textHeight of card field "ProblemList"
end mouseUp
-- part 1 (field)
-- low flags: 01
-- high flags: 0007
-- rect: left=108 top=120 right=179 bottom=375
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 48
-- style flags: 0
-- line height: 64
-- part name: ProblemList
-- part 7 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=83 top=233 right=266 bottom=121
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 2
-- part 8 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=37 top=233 right=266 bottom=75
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 1
-- part 11 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=128 top=233 right=266 bottom=166
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 3
-- part 12 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=175 top=233 right=266 bottom=213
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 4
-- part 13 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=220 top=233 right=266 bottom=258
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 5
-- part 14 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=264 top=233 right=266 bottom=302
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 6
-- part 15 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=307 top=233 right=266 bottom=345
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 7
-- part 16 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=352 top=233 right=266 bottom=390
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 8
-- part 17 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=397 top=233 right=266 bottom=435
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 9
-- part 18 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=442 top=233 right=266 bottom=480
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 10
-- part 19 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=36 top=282 right=315 bottom=74
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 11
-- part 20 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=82 top=282 right=315 bottom=120
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 12
-- part 21 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=126 top=282 right=315 bottom=164
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 13
-- part 22 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=174 top=282 right=315 bottom=212
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 14
-- part 23 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=222 top=282 right=315 bottom=260
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 15
-- part 24 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=265 top=282 right=315 bottom=303
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 16
-- part 25 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=309 top=282 right=315 bottom=347
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 17
-- part 26 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=354 top=282 right=315 bottom=392
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 18
-- part 27 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=398 top=282 right=315 bottom=436
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 19
-- part 28 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=443 top=282 right=315 bottom=481
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: 20
-- part 29 (field)
-- low flags: 81
-- high flags: 0007
-- rect: left=427 top=35 right=138 bottom=480
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: AnswerList
-- part 30 (field)
-- low flags: 81
-- high flags: 0000
-- rect: left=443 top=160 right=182 bottom=469
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Problem Number
-- part contents for card part 1
----- text -----
2 + 3
3 + 4
2 + 7
3 + 1
7 + 2
9 + 0
2 + 7
6 + 1
9 + 0
8 + 1
7 + 2
4 + 2
1 + 4
0 + 3
3 + 2
2 + 2
5 + 3
4 + 4
4 + 3
7 + 1
6 + 2
3 + 5
0 + 6
9 + 0
4 + 2
8 + 1
1 + 2
5 + 4
2 + 7
1 + 3
-- part contents for card part 3
----- text -----
5
-- part contents for card part 30
----- text -----
30
-- part contents for card part 29
----- text -----
Problem
7
9
4
9
9
9
8
7
19
19
19
19
19
19
20
18
16
6
4
8
9
8
8
8
8
8
8
8
8